<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=utf-8"%>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .d1{
            display: inline-block;
        }
        .d2{
            display: inline-block;
        }
    </style>
</head>
<body>
    <form method="post" action="${pageContext.request.contextPath}/population_add">
        <div class="d1">
           <p>
               <span>数据年份</span>
               <input type="text" name="memYear" required="required" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span>家庭编号</span>
               <input type="text" name="faCode"  required="required"/>
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 家庭成员姓名</span>
               <input type="text" name="memName"  required="required" />
               <span style="color: red">*</span>
           </p>
           <p>
               <span> 与户主关系</span>
               <select name="memRelationId" required>
                   <option value="1">配偶</option>
                   <option value="2">父子</option>
                   <option value="3">父女</option>
                   <option value="4">母子</option>
                   <option value="5">母女</option>
                   <option value="6">孙子</option>
                   <option value="7">孙女</option>
                   <option value="8">外孙</option>
                   <option value="9">外孙女</option>
                   <option value="10">儿媳妇</option>
                   <option value="11">女婿</option>
                   <option value="12">兄弟</option>
                   <option value="13">姐妹</option>
                   <option value="14">侄子</option>
                   <option value="15">侄女</option>
                   <option value="16">堂兄</option>
                   <option value="17">兄妹</option>
                   <option value="18">姐弟</option>
               </select>
               <span style="color: red">*</span>
           </p>
           <p>
               <span>性别</span>
               <input type="text" name="memGender" required />
               <span style="color: red">*</span>
           </p>
            <p>
                <span>身份证号</span>
                <input type="text" name="memIdCard" required="required"/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>年龄</span>
                <input type="text" name="memAge" required/>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>民族</span>
                <select name="memNationalId" required>
                    <option value="1">汉族</option>
                    <option value="2">蒙古族</option>
                    <option value="3">回族</option>
                    <option value="4">藏族</option>
                    <option value="5">维吾尔族</option>
                    <option value="6">苗族</option>
                    <option value="7">壮族</option>
                    <option value="8">布依族</option>
                    <option value="9">朝鲜族</option>
                    <option value="10">满族</option>
                    <option value="11">侗族</option>
                    <option value="12">瑶族</option>
                    <option value="13">白族</option>
                    <option value="14">土家族</option>
                    <option value="15">哈尼族</option>
                    <option value="16">哈萨克族</option>
                    <option value="17">傣族</option>
                    <option value="18">黎族</option>
                    <option value="19">傈族</option>
                    <option value="20">彝族</option>
                    <option value="21">佤族</option>
                    <option value="22">畲族</option>
                    <option value="23">高山族</option>
                    <option value="24">拉祜族</option>
                    <option value="25">水族</option>
                    <option value="26">东乡族</option>
                    <option value="27">纳西族</option>
                    <option value="28">景颇族</option>
                    <option value="29">柯尔克孜族</option>
                    <option value="30">土族</option>
                    <option value="31">达斡尔族</option>
                    <option value="32">仫佬族</option>
                    <option value="33">羌族</option>
                    <option value="34">布朗族</option>
                    <option value="35">撒拉族</option>
                    <option value="36">毛南族</option>
                    <option value="37">仡佬族</option>
                    <option value="38">锡伯族</option>
                    <option value="39">阿昌族</option>
                    <option value="40">普米族</option>
                    <option value="41">塔吉克族</option>
                    <option value="42">怒族</option>
                    <option value="43">乌孜别克族</option>
                    <option value="44">俄罗斯族</option>
                    <option value="45">鄂温克族</option>
                    <option value="46">德昂族</option>
                    <option value="47">保安族</option>
                    <option value="48">裕固族</option>
                    <option value="49">京族</option>
                    <option value="50">塔塔尔族</option>
                    <option value="51">独龙族</option>
                    <option value="52">鄂伦春族</option>
                    <option value="53">赫哲族</option>
                    <option value="54">门巴族</option>
                    <option value="55">珞巴族</option>
                    <option value="56">基诺族</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>人口类别</span>
                <select name="memDemographicId" required>
                    <option value="1">集体经济组织成员</option>
                    <option value="2">户籍人口</option>
                    <option value="3">其他人员</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>入户时间</span>
                <input type="date" name="memEnterTime" required/>
                <span style="color: red">*</span>
            </p>
        </div>
        <div class="d2">
            <p>
                <span>婚姻状况</span>
                <select name="memMarriageId" required>
                    <option value="1">已婚</option>
                    <option value="2">未婚</option>
                    <option value="3">离婚</option>
                    <option value="4">再婚</option>
                    <option value="5">丧偶</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>政治面貌</span>
                <select name="memPoliticalId" >
                    <option value="1">中共党员</option>
                    <option value="2">共青团员</option>
                    <option value="3">民主党派</option>
                    <option value="4">群众</option>
                </select>
            </p>
            <p>
                <span> 文化程度</span>
                <select name="memLevelEducationId" required>
                    <option value="1">学龄前</option>
                    <option value="2">文盲</option>
                    <option value="3">小学</option>
                    <option value="4">初中</option>
                    <option value="5">高中</option>
                    <option value="6">中专</option>
                    <option value="7">大专</option>
                    <option value="8">本科</option>
                    <option value="9">硕士</option>
                    <option value="10">博士</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>劳动力情况</span>
                <select name="memLabourId" >
                    <option value="1">是</option>
                    <option value="2">否</option>
                </select>
            </p>
            <p>
                <span>常住地址</span>
                <input type="text" name="memAddress" />
            </p>
            <p>
                <span>人员状态</span>
                <select name="memStateId" required>
                    <option value="1">正常</option>
                    <option value="2">迁出</option>
                    <option value="3">迁入</option>
                    <option value="4">入狱</option>
                    <option value="5">死亡</option>
                    <option value="6">注销</option>
                    <option value="7">分户</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>村内职务</span>
                <input type="text" name="memPositionId" />
            </p>
            <p>
                <span>身份</span>
                <select name="memIdentityId" required>
                    <option value="1">家庭经营务农人员</option>
                    <option value="2">学生</option>
                    <option value="3">企业职工</option>
                    <option value="4">个体工商户</option>
                    <option value="5">私营业主</option>
                    <option value="6">村两委干部</option>
                    <option value="7">军人</option>
                    <option value="8">优抚对象</option>
                    <option value="9">退伍军人</option>
                    <option value="10">机关公务员</option>
                    <option value="11">事业单位人员</option>
                    <option value="12">自由职业人员</option>
                    <option value="13">社会组织工作人员</option>
                    <option value="14">离退休人员</option>
                    <option value="15">大学生村官</option>
                    <option value="16">无</option>
                </select>
                <span style="color: red">*</span>
            </p>
            <p>
                <span>是否为兵役</span>
                <select name="memMilitaryId">
                    <option value="1">是</option>
                    <option value="2">否</option>
                </select>
            </p>
            <p>
                <span>联系电话</span>
                <input type="text" name="memPhone" required/>
                <span style="color: red">*</span>
            </p>
        </div>
        <div>
            <button type="submit">增加</button>
        </div>
    </form>
</body>
</html>
